package main

import (
	"fmt"
	"net/http"
	"os"
)

func main() {
	var filename = "./es.go"
	fileinfo, err := os.Stat(filename)
	if err != nil {
		fmt.Printf("%+v", err)
	}
	fmt.Println(fileinfo)
	fmt.Println("this is a demo")
	resp, err := http.Get("")
	if err != nil {
		panic(err)
	}
	body := resp.Body
	defer body.Close()
	fmt.Println()
}
